//
//  BDShopModel.h
//  iOS_beboy
//
//  Created by wen on 2017/11/14.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

typedef NS_ENUM(NSUInteger, BDShopPriorityMode) {
    BDShopPriorityModeDefault,  //普通
    BDShopPriorityModeSigning,  //签约
    BDShopPriorityModePriority, //优先
    BDShopPriorityModePromote   //推广
};

@interface BDShopModel : NSObject

//商家ID
@property (nonatomic, assign) NSInteger shop_id;
//类型
@property (nonatomic, assign) BDShopType type;
//商家名称
@property (nonatomic, strong) NSString *title;
//人均消费
@property (nonatomic, assign) NSInteger consumption;
//省份ID
@property (nonatomic, assign) NSInteger province_id;
//城市ID
@property (nonatomic, assign) NSInteger city_id;
//区域ID
@property (nonatomic, assign) NSInteger district_id;
//电话
@property (nonatomic, strong) NSString *phone;
//地址
@property (nonatomic, strong) NSString *address;
//评分
@property (nonatomic, assign) CGFloat score;
//经度
@property (nonatomic, assign) CGFloat longitude;
//纬度
@property (nonatomic, assign) CGFloat latitude;
//与用户的距离，单位km
@property (nonatomic, assign) CGFloat distance;
//封面URL
@property (nonatomic, strong) NSString *cover;
//评论数量
@property (nonatomic, assign) NSInteger commentCount;

@property (nonatomic, assign) BDShopPriorityMode priority;

@property (nonatomic) NSInteger hongbao;
// 已售数量
@property (nonatomic, strong) NSString *sales;

@end
